package com.docking.heylo.service.impl;

import com.docking.heylo.dao.entity.AppVersion;
import com.docking.heylo.dao.mapper.AppVersionMapper;
import com.docking.heylo.service.IAppVersionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AppVersionServiceImpl implements IAppVersionService {

    @Resource
    private AppVersionMapper versionMapper;

    @Override
    public AppVersion lastVersion(AppVersion app) {
        return versionMapper.lastVersion(app.getType());
    }





}
